using System;
using System.Collections;
using System.Text;

namespace UnitConverterSmartphone
{

    public class Category
	{
        public String name;
        public ArrayList units; //list of units

        public Category(String strName)
		{
            name = strName;
			units = new ArrayList();
		}

        public override string ToString()
        {
            return this.name;
        }
	};

    public class Unit
    {
        public String category;
        public String name;
        public String abbr; //abbreviation
        public String info;

        public double lf;     //linear convergence factor
        public double cf;     //constant convergence factor for convergence from kelvins to celsius for example

        public override string ToString()
        {
            return this.name;
        }
    }
}
